package lp.xian.production.vo;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

@Data
public class ProductVo extends BaseEntity {
    private Integer productId;
    private String productName;
    private Integer productNum;
    private BigDecimal productPrice;
    private String productUnit;
    private Integer clientId;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("productId", getProductId())
                .append("productName", getProductName())
                .append("productNum", getProductNum())
                .append("productPrice", getProductPrice())
                .append("productUnit", getProductUnit())
                .append("clientId", getClientId())
                .toString();
    }
}
